package com.ctshk.rpc.order.season.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author  杨林
 * @date  2021/3/30 11:52
 * @version 1.0
 */
@Data
@ApiModel(value="RefundAuditReq", description="订单中心-套票退款审核")
public class RefundAuditReq  implements Serializable {

    @ApiModelProperty(value = "审批id",required = true)
    @NotNull(message = "审批id不能为空")
    private Long approvalId;

    @ApiModelProperty(value = "审批人id",required = true)
    @NotNull(message = "审批人id不能为空")
    private Long userId;

    @ApiModelProperty(value = "业务相关id",required = true)
    @NotNull(message = "业务相关id不能为空")
    private Long businessId;

    @ApiModelProperty(value = "审核状态  0 撤回 3 审批不通过 4 审批通过(必填)",required = true)
  //  @Pattern(regexp = "^[034]$", message = "审核状态有误")
    @NotNull(message = "审核状态")
    private Integer status;
    @ApiModelProperty(value = "通过或者拒绝评论说明")
    private String comments;


}